package example;

import static junit.framework.Assert.assertEquals;

import org.junit.Test;

public class StudyDAOTest {

	StudyDAO dao = new StudyDAO();
	
	@Test
	public void testFindOne_Success() {
		StudyDTO dto = dao.findOne(1);
		assertEquals(1, dto.getId());
		assertEquals("ymyoo", dto.getName());	
	}

}
